package com.andnnl.list;

import com.google.common.collect.Lists;

import java.util.List;

//import org.apache.commons.collections4.ListUtils;

/**
 * Created by chenss on 2021/4/13.
 */
public class ListsPartitionTest2 {
    public static void main(String[] args) {
        List<Integer> intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8);
        System.out.println(Lists.partition(intList, 3));
    }
}
